/**
 * Copyright (c) 快宝网络 kuaidihelp.com Co., Ltd. All Rights Reserved 禁止外泄以及用于其它的商业用途
 */

:global {
  .map-polygon-list {
    transition: all 0.3s;
    position: absolute;
    z-index: 999;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.9);
    width: 300px;
    bottom: 0;
    box-shadow: 0 0 5px #ccc;
    padding-top: 60px;
    .ant-table-small {
      border: none;
    }
    .map-shrink-bar {
      position: absolute;
      right: 1px;
      top: 50%;
      transform: translate(100%, -50%);
      border: none;
      border-radius: 0 4px 4px 0;
      padding: 10px 5px;
      height: auto;
      box-shadow: 1px 0 1px #ccc;
    }
    .map-polygon-toolbar {
      padding: 16px;
      border-bottom: 1px solid #eee;
      position: absolute;
      left: 0;
      right: 0;
      top: 0;
    }
    .ant-table-wrapper {
      height: 100%;
      overflow-y: auto;
      .ant-table-row{
        cursor: pointer;
      }
    }
  }
  .map-polygon-unfold {
    transform: translateX(-260px);
  }
  .map-polygon-button button {
    margin-right: 5px;
    &:last-child {
      margin-right: 0;
    }
  }
  .map-row-current {
    td {
      background-color: #e6f7ff;
    }
  }
}
